package engine.event
{
	import flash.events.Event;
	
	import newx.BaseObject;
	
	public class BaseNetEvent extends Event
	{
		public static const LOGIN_SUCCESS:String	=	"onLoginSuccess";
		
		public static const SERVER_ERROR:String	=	"onServerError";
		
//		public static const ENTRY_SCENE:String	=	"onEntryScene";
		
		public static const ADD_OBJECT:String		=	"onAddObject";
		
		public static const PROP_CHANGE:String	=	"onPropChange";
		
		public static const VIEW_ADD:String		=	"onViewAdd";
		
		public static const VIEW_UPDATE:String	=	"onViewUpdate";
		
		public static const VIEW_REMOVE:String	=	"onViewRemove";
		
		public static const FROM_GM:String		=	"onFromGM";
		
		public static const ADD_MENU:String		=	"onAddMenu";
		
		public static const SERVER_QUEUE:String	=	"onServerQueue";
		
		public var data:Array;
		
		public function BaseNetEvent(type:String,...argc)
		{
			data	=	argc;
			super(type);
		}
	}
}